import { jsx } from 'react/jsx-runtime';

function returnRight (props) {
    const name = props.className;
    let className = 'w-svg';
    if (name) {
        className += ' ' + name;
    }
    let fn = props.onClick;
    let fnClick;
    if (fn) {
        fnClick = (e) => {
            fn(e);
        };
    }
    return (jsx("span", { onClick: fnClick, className: className, style: { fontSize: props.fontSize, color: props.color }, children: jsx("svg", { viewBox: "0 0 1024 1024", width: "1em", height: "1em", fill: "currentColor", children: jsx("path", { d: "M896 384l-256 192 0-128L256 448l0 256 496 0c8.8 0 16 7.2 16 16l0 96c0 8.8-7.2 16-16 16L144 832c-8.8 0-16-7.2-16-16L128 336c0-8.8 7.2-16 16-16l496 0L640 192 896 384z" }) }) }));
}

export { returnRight as default };
